<?php 
	$this->load->view('includes/header');

	if (isset($content_view)){
		$this->load->view("$content_view");
	}

	$this->load->view('includes/footer');
	
	if (isset($javascripts)){
		foreach ($javascripts as $js){
			echo "<script src='" . base_url() . "javascripts/$js.js'></script>";
		}
	}

?>